import { createApp } from 'vue'
import App from './App.vue'
import install from './install'
import './permission'
import './styles/index.scss'
import 'virtual:svg-icons-register'

import VueUeditorWrap from 'vue-ueditor-wrap';

// 清除所有的打印
if(process.env.NODE_ENV !== 'development'){
  const methods = ['log', 'info', 'warn', 'error', 'debug'];
  methods.forEach(method => {
    console[method] = function() {};
  });
}

const app = createApp(App)
app.config.devtools = true;
app.use(install)
app.use(VueUeditorWrap);
app.mount('#app')
